package com.yami.shop.bean.model;

import cn.hutool.db.meta.TableType;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@TableName("tz_shop_recharge")
public class ShopRecharge {
  @ApiModelProperty("id主键 充值订单号")
  @TableId(type = IdType.ASSIGN_ID)
  private Long rechargeId;
  @ApiModelProperty("充值金额")
  private BigDecimal rechargeMoney;
  @ApiModelProperty("店铺ID")
  private Long shopId;
  @ApiModelProperty("第三方平台单号")
  private String platformNumber;
  @ApiModelProperty("充值状态 0-不成功 1-成功")
  private Integer rechargeState;
  @ApiModelProperty("充值时间")
  private LocalDateTime createDate;
}
